<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="UTF-8"%>
<jsp:useBean id="list" class="eai.tp2.lpco.web.beans.ErrorList" scope="request" />
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pt" lang="pt">
<head>
<title>Low-Price Cameras Online: Errors</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<script language="javascript" src="javascript/sub-menus.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="style/style.css"  />
</head>
<body> 
<table width="845" border="0" cellspacing="0" cellpadding="0"> 
  <tr> 
       <td>&nbsp;</td>
    <td colspan="5" ><div class="margem-direita"><img src="imagens/top.gif" width="850" height="108" alt="" /></div></td> 
  </tr> 
  <tr> 
    <td colspan="5" ></td> 
  </tr> 
  <tr> 
    <td colspan="5"></td> 
  </tr> 
  <tr> 
    <td width="10" rowspan="9">&nbsp;</td> 
    <td colspan="3"></td> 
    <td width="40" rowspan="9">&nbsp;</td> 
  </tr> 
  <tr> 
    <td>&nbsp;</td> 
    <td colspan="2" valign="top"></td> 
  </tr> 
  <tr> 
    <td colspan="2" valign="top"><table width="100%" border="0" cellspacing="3" cellpadding="0" style="border: 2px solid red;"> 
            <tr > 
              <td width="50%" style="width: 790px;"><h1>&nbsp;Error:</h1></td>               
            </tr>   
            <%
               	for (String error : list.getErrorList()) {
               		out
               				.print("<tr>"
               						+ "<td><div class=\"error-text\">&nbsp;&nbsp;" + error
               						+ "&nbsp;</div></td>"
               						+ "</tr>");
               	}
               %>
			<tr>
				<td align="left" >&nbsp;<div><a href="javascript: history.go(-1)" class="text-link">&nbsp;back&nbsp;</a></div></td>
				<td>&nbsp;</td>
			</tr>
            <tr> 
              <td colspan="2"></td> 
            </tr> 
    </table></form></td> 
  </tr> 
  <tr>
    <td valign="top"></td>
  </tr> 
 
  <tr> 
    <td colspan="5"><div class="margem-baixo">&nbsp;</div></td> 
  </tr> 
  <tr> 
    <td width="10">&nbsp;</td> 
    <td></td> 
  </tr> 
</table> 
</body>
</html>
